#ifndef TESTFAILUREEXCEPTION_HPP_
# define TESTFAILUREEXCEPTION_HPP_

# include <string>
# include <stdexcept>

namespace unit_test {

class TestFailureException: public std::runtime_error {
public:
  TestFailureException(unsigned int line, const std::string &message);
  virtual ~TestFailureException() throw ();

  virtual const char *what() const throw ();

protected:
  std::string mMessage;
};

} /* !namespace unit_test */
#endif /* !TESTFAILUREEXCEPTION_HPP_ */
